﻿<UserControl x:Class="MainGameModule.Views.GameModuleView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:prism="clr-namespace:Microsoft.Practices.Composite.Presentation.Regions;assembly=Microsoft.Practices.Composite.Presentation">

    <Grid x:Name="LayoutRoot">

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>

        <!--<Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>-->

        <ContentControl x:Name="GameContent"
                        Grid.ColumnSpan="3"
                        prism:RegionManager.RegionName="GameContentRegion" />

        <ContentControl x:Name="GameControls"
                        Grid.ColumnSpan="3"
                        HorizontalContentAlignment="Stretch"
                        prism:RegionManager.RegionName="GameControlsRegion" />

        <!--<ContentControl x:Name="GameControlsRightPanel"
                        Margin="0,150,0,0"
                        Grid.Column="2"
                        HorizontalAlignment="Right"
                        prism:RegionManager.RegionName="GameControlsRightRegion"/>-->

        <ContentControl x:Name="QuestsPreview"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        Margin="10, 100,0, 30"
                        prism:RegionManager.RegionName="QuestsPreviewRegion" />


        <ContentControl x:Name="ChatContent"
                        Grid.Column="1"
                        Grid.ColumnSpan="2"
                        VerticalAlignment="Bottom"
                        HorizontalAlignment="Right"
                        prism:RegionManager.RegionName="ChatRegion" />

        <ContentControl x:Name="GamePopUpContent"
                        HorizontalAlignment="Center"
                        VerticalAlignment="Center"
                        Grid.ColumnSpan="3"
                        prism:RegionManager.RegionName="GamePopUpRegion" />

    </Grid>
</UserControl>
